#include <stdio.h>

int main()
{
    int a[4] = {2016, 2017, 2018, 2019};
    //int *ptr1 = (int *)(&a + 1);  //到下一个数组
    //int *ptr2 = (int *)((int)a + 1);  //2016的三个字节与2017的第一个字节
    //printf("%x,%x", ptr1[-1], *ptr2);//2019；  *ptr2最终结果：E1 00 00 07 
    
    int *ptr2 = (int *)((unsigned long)a + 1); 

    printf("%x\n",*(ptr2));  //结果：e1000007
    printf("%d\n",*(ptr2)); 
    return 0;
}
